package com.ruoyi.system.service.impl;

import java.util.List;

import com.ruoyi.system.domain.UcUuPersoninfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.UcUuPersoninfoMapper;
import com.ruoyi.system.service.IUcUuPersoninfoService;

/**
 * 重庆用户中心人员信息Service业务层处理
 * 
 * @author ess
 * @date 2022-02-16
 */
@Service
public class UcUuPersoninfoServiceImpl implements IUcUuPersoninfoService 
{
    @Autowired
    private UcUuPersoninfoMapper ucUuPersoninfoMapper;

    /**
     * 查询重庆用户中心人员信息
     * 
     * @param personUuid 重庆用户中心人员信息主键
     * @return 重庆用户中心人员信息
     */
    @Override
    public UcUuPersoninfo selectUcUuPersoninfoByPersonUuid(String personUuid)
    {
        return ucUuPersoninfoMapper.selectUcUuPersoninfoByPersonUuid(personUuid);
    }

    /**
     * 查询重庆用户中心人员信息列表
     * 
     * @param ucUuPersoninfo 重庆用户中心人员信息
     * @return 重庆用户中心人员信息
     */
    @Override
    public List<UcUuPersoninfo> selectUcUuPersoninfoList(UcUuPersoninfo ucUuPersoninfo)
    {
        return ucUuPersoninfoMapper.selectUcUuPersoninfoList(ucUuPersoninfo);
    }

    /**
     * 新增重庆用户中心人员信息
     * 
     * @param ucUuPersoninfo 重庆用户中心人员信息
     * @return 结果
     */
    @Override
    public int insertUcUuPersoninfo(UcUuPersoninfo ucUuPersoninfo)
    {
        return ucUuPersoninfoMapper.insertUcUuPersoninfo(ucUuPersoninfo);
    }

    /**
     * 修改重庆用户中心人员信息
     * 
     * @param ucUuPersoninfo 重庆用户中心人员信息
     * @return 结果
     */
    @Override
    public int updateUcUuPersoninfo(UcUuPersoninfo ucUuPersoninfo)
    {
        return ucUuPersoninfoMapper.updateUcUuPersoninfo(ucUuPersoninfo);
    }

    /**
     * 批量删除重庆用户中心人员信息
     * 
     * @param personUuids 需要删除的重庆用户中心人员信息主键
     * @return 结果
     */
    @Override
    public int deleteUcUuPersoninfoByPersonUuids(String[] personUuids)
    {
        return ucUuPersoninfoMapper.deleteUcUuPersoninfoByPersonUuids(personUuids);
    }

    /**
     * 删除重庆用户中心人员信息信息
     * 
     * @param personUuid 重庆用户中心人员信息主键
     * @return 结果
     */
    @Override
    public int deleteUcUuPersoninfoByPersonUuid(String personUuid)
    {
        return ucUuPersoninfoMapper.deleteUcUuPersoninfoByPersonUuid(personUuid);
    }

    @Override
    public List<UcUuPersoninfo> selectUcPersonTB() {
        return ucUuPersoninfoMapper.selectUcPersonTB();
    }

}
